home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
mus
/
play
/
sparctracker100.lha
/
SparcTracker
/
libaudio.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-10-28
|
972b
|
40 lines
/* @(#)libaudio.h 1.2 90/01/03 SMI */
/* Copyright (c) 1989 by Sun Microsystems, Inc. */
#ifndef _multimedia_libaudio_h
#define _multimedia_libaudio_h
#include "audio_errno.h"
#include "audio_hdr.h"
/* define various constants for general use */
/* Theoretical maximum length of hh:mm:ss.dd string */
#define AUDIO_MAX_TIMEVAL (32)
/* Theoretical maximum length of encoding information string */
#define AUDIO_MAX_ENCODE_INFO (80)
/* Why aren't these stupid values defined in a standard place?! */
#ifndef TRUE
#define TRUE (1)
#endif
#ifndef FALSE
#define FALSE (0)
#endif
#ifndef NULL
#define NULL 0
#endif
/* Declare routines that return non-int values */
extern double audio_bytes_to_secs(/* Audio_hdr *hp, unsigned cnt */);
extern unsigned audio_secs_to_bytes(/* Audio_hdr *hp, double sec */);
extern double audio_str_to_secs(/* char *str */);
extern char *audio_secs_to_str(/* double sec, char *str, int precision */);
#endif /*!_multimedia_libaudio_h*/